<?PHP
$uid = $_REQUEST['uid'];
$commendStr = "phantomjs ./ph.js " . $uid;
exec($commendStr, $res);
$res = array_filter($res);
$res_str = implode('', $res);
$res_json = json_decode($res_str, true);

echo json_encode($res_json);
